Imaging processing method for smart mirror, and smart mirror

ABSTRACT

An imaging processing method for a smart mirror includes obtaining biometric parameters of a user; determining whether to perform a processing on an image of the user in the smart mirror according to the biometric parameters, wherein the processing comprises an enlargement processing or a reduction processing; and performing the processing on the image of the user in the smart mirror upon the determining is positive.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims priority to Chinese patent application No.201810040917.2 filed Jan. 16, 2018, the disclosure which is incorporatedherein by reference in its entirety.

BACKGROUND

In daily lives, people often look into the mirror. When looking into themirror, he or she has to get closer to the mirror surface if the userwants to see a partial imaging of his/her face.

SUMMARY

The present disclosure relates to the field of electronic technology,and more particularly, to an imaging processing method for a smartmirror, and a smart mirror.

The inventors of the resent disclosure have recognized that, if otheritems (such as the sink or the like) are placed between the user and themirror surface, the user will be impeded from approaching the mirrorsurface, and therefore may not be able to see the imaging in the mirrorclearly. Various embodiments of the present disclosure can overcome suchproblems.

According to a first aspect of the embodiments of the presentdisclosure, there is provided an imaging processing method for a smartmirror. The method includes:

obtaining biometric parameters of a user;

determining whether to perform a processing on an image of the user inthe smart mirror according to the biometric parameters, wherein theprocessing includes an enlargement processing or a reduction processing;and

performing the processing on the image of the user in the smart mirrorupon the determining is positive, i.e., in a case of “yes.”

In this way, the smart mirror can automatically recognize the user'sneeds according to the user's biometric parameters and performcorresponding imaging processing. Even if there are other items (such asthe sink or the like) between the user and the mirror surface, the userwill not be impeded from seeing the imaging in the mirror surfaceclearly due to not being able to come closer to the mirror surface.

In some embodiments, the biometric parameters include a moving state ofthe user in a direction of a mirror face of the smart mirror;

said “determining whether to perform a processing on an imaging of theuser in the smart mirror according to the biometric parameters, andperforming the processing on the imaging of the user in the smartmirror, in a case of “yes,” includes:

determining to perform the enlargement processing on the imaging of theuser in the smart mirror when detecting a movement of the user towardsthe smart mirror in the direction of the mirror face of the smartmirror; and

determining to perform the reduction processing on the imaging of theuser in the smart mirror when detecting a movement of the user away fromthe smart mirror in the direction of the mirror face of the smartmirror.

In the implementation, when the user cannot see his/her own imaging inthe mirror face clearly, he/she approaches the mirror face. When thesmart mirror detects a movement of the user towards the smart mirror inthe direction of the mirror face of the smart mirror, an enlargementprocessing on the imaging of the user in the smart mirror is determinedto perform. Conversely, when the user feels that the enlarged imagedisplayed in the mirror face is too large, he/she can step back in adirection of the mirror face of the smart mirror. When the smart mirrordetects a movement of the user away from the smart mirror in thedirection of the mirror face of the smart mirror, a reduction processingon the imaging of the user in the smart mirror is determined to perform.

In some embodiments, the biometric parameters include a state of apupil.

Said “determining whether to perform a processing on an imaging of theuser in the smart mirror according to the biometric parameters, andperforming the processing on the imaging of the user in the smartmirror, in a case of “yes,” includes:

determining to perform the enlargement processing on the imaging of theuser in the smart mirror when detecting that a pupil image is includedin an image captured by an image acquisition component and that a pupilsize in the pupil image is enlarged.

In the implementation, the smart mirror captures the scene facing theimage acquisition component through the image acquisition component inreal time, and detects the captured image. When the image captured bythe image acquisition component includes the user image, the position ofthe user's pupil can be detected and the pupil size in the pupil imagecan be determined. The image acquisition component can capture the imageat a preset time interval to obtain image frames. When the pupil imageis included in several consecutive image frames and the pupil size inthe pupil image is enlarged, an enlargement processing on the imaging ofthe user in the smart mirror is determined to perform.

In some embodiments, when the processing is the enlargement processing,said performing the processing on the imaging of the user in the smartmirror includes:

controlling the smart mirror to move in the direction of the mirrorface; or

obtaining an enlarged image of the user in the direction of the mirrorface of the smart mirror, and displaying the enlarged image in themirror face of the smart mirror.

In some embodiments, said controlling the smart mirror to move in thedirection of the mirror face includes:

obtaining a preset displacement distance, and controlling the smartmirror to move in the direction of the mirror face by the presetdisplacement distance; or

detecting through a distance detecting component a distance between theuser and the smart mirror in the direction of the mirror face of thesmart mirror; calculating a difference between the distance and a presettarget distance, and controlling the smart mirror to move in thedirection of the mirror face by the difference.

In the implementation, when determining that the enlargement processingis required, the smart mirror may only move by a preset displacementdistance at a time, for example, only 10 cm at a time.

Alternatively, the user can set the target distance in a dedicatedapplication in the mobile phone based on his or her preference. That is,each time the user needs the smart mirror to perform the enlargementprocessing, the smart mirror directly moves by the target distancepreset by the user.

In some embodiments, said obtaining an enlarged image of the user in thedirection of the mirror face of the smart mirror includes:

obtaining a preset target enlargement coefficient of image; obtaining anenlarged image of the user in the direction of the mirror face of thesmart mirror, based on the target enlargement coefficient of image; or

detecting through a distance detecting component a distance between theuser and the smart mirror in the direction of the mirror face of thesmart mirror; calculating a difference between the distance and a presettarget distance, and determining a target enlargement coefficient ofimage corresponding to the currently calculated difference according toa pre-stored correspondence between the difference and the enlargementcoefficient of image; and obtaining an enlarged image of the user in thedirection of the mirror face of the smart mirror, based on the targetenlargement coefficient of image.

When determining that the enlargement processing is required, the smartmirror may perform the enlargement processing based on the preset targetenlargement coefficient of image at a time, and for example, the imageis enlarged by 1.2 times at a time.

Alternatively, a difference between the distance X₁ and a preset targetdistance X₂ can be calculated, and the smart mirror is controlled tomove in the direction of the mirror face by the difference, i.e., X₁−X₂.A target enlargement coefficient of image corresponding to the currentlycalculated difference X₁−X₂ is determined according to a pre-storedcorrespondence between the difference and the enlargement coefficient ofimage. An enlarged image of the user in the direction of the mirror faceof the smart mirror is obtained based on the target enlargementcoefficient of image.

In some embodiments, said obtaining an enlarged image of the user in thedirection of the mirror face of the smart mirror based on the targetenlargement coefficient of image includes:

detecting a position of a face image in the image acquired by the imageacquisition component; and

enlarging the image based on the target enlargement coefficient of imageby centering on the position of the face image to obtain an enlargedimage of the user in the direction of the mirror face of the smartmirror.

In some embodiments, said obtaining an enlarged image of the user in thedirection of the mirror face of the smart mirror based on the targetenlargement coefficient of image includes:

adjusting a focus length of the image acquisition component based on thetarget enlargement coefficient of image; and

obtaining, by acquiring the image through the adjusted image acquisitioncomponent, an enlarged image of the user in the direction of the mirrorface of the smart mirror.

In some embodiments, when the processing is the reduction processing,said performing the processing on the imaging of the user in the smartmirror includes:

controlling the smart mirror to move in a direction opposite to thedirection which the mirror face faces; or

obtaining a reduced image of the user in the direction of the mirrorface of the smart mirror, and displaying the reduced image in the mirrorface of the smart mirror.

In some embodiments, after performing the processing on the imaging ofthe user in the smart mirror, the method further includes:

if the processing on the imaging of the user in the smart mirror isdetermined again according to the biometric parameters of the user, andthe determined processing is opposite to the preceding processing,setting a scaling ratio of the determined processing to be less thanthat of said preceding processing when performing the processing on theimaging of the user in the smart mirror for the present time.

According to a second aspect of the embodiments of the presentdisclosure, there is provided a smart mirror. The smart mirror includes:

an obtaining module, configured to obtain biometric parameters of auser; and

a first processing module, configured to determine whether to perform aprocessing on an imaging of the user in the smart mirror according tothe biometric parameters, wherein the processing includes an enlargementprocessing or a reduction processing; and the processing on the imagingof the user in the smart mirror is performed, in a case of “yes.”

In some embodiments, the biometric parameters include a moving state ofthe user in a direction of the mirror face of the smart mirror; and

the first processing module includes:

a first determining unit which is configured to determine to perform theenlargement processing on the imaging of the user in the smart mirrorwhen detecting a movement of the user towards the smart mirror in thedirection of the mirror face of the smart mirror; and

a second determining unit which is configured to determine to performthe reduction processing on the imaging of the user in the smart mirrorwhen detecting a movement of the user away from the smart mirror in thedirection of the mirror face of the smart mirror.

In some embodiments, the biometric parameters include a state of apupil; and

the first processing module includes:

a third determining unit which is configured to determine to perform theenlargement processing on the imaging of the user in the smart mirrorwhen detecting that a pupil image is included in an image captured by animage acquisition component and that a pupil size in the pupil image isenlarged.

In some embodiments, when the processing is the enlargement processing,the first processing module includes:

a first control unit, configured to control the smart mirror to move inthe direction of the mirror face; or

an enlarging unit, configured to obtain an enlarged image of the user inthe direction of the mirror face of the smart mirror, and to display theenlarged image in the mirror face of the smart mirror.

In some embodiments, the first control unit is configured to:

obtain a preset displacement distance, and control the smart mirror tomove in the direction of the mirror face by the preset displacementdistance; or

detect through a distance detecting component a distance between theuser and the smart mirror in the direction of the mirror face of thesmart mirror; calculate a difference between the distance and a presettarget distance, and control the smart mirror to move in the directionof the mirror face by the difference.

In some embodiments, the enlarging unit is configured to:

obtain a preset target enlargement coefficient of image; obtain anenlarged image of the user in the direction of the mirror face of thesmart mirror, based on the target enlargement coefficient of image; or

detect through a distance detecting component a distance between theuser and the smart mirror in the direction of the mirror face of thesmart mirror; calculate a difference between the distance and a presettarget distance, and determine a target enlargement coefficient of imagecorresponding to the currently calculated difference according to apre-stored correspondence between the difference and the enlargementcoefficient of image; and obtain an enlarged image of the user in thedirection of the mirror face of the smart mirror, based on the targetenlargement coefficient of image.

In some embodiments, the enlarging unit is configured to:

detect a position of a face image in the image acquired by the imageacquisition component; and

enlarge the image based on the target enlargement coefficient of imageby centering on the position of the face image to obtain an enlargedimage of the user in the direction of the mirror face of the smartmirror.

In some embodiments, the enlarging unit is configured to:

adjust a focus length of the image acquisition component based on thetarget enlargement coefficient of image; and

obtain, by acquiring the image through the adjusted image acquisitioncomponent, an enlarged image of the user in the direction of the mirrorface of the smart mirror.

In some embodiments, when the processing is the reduction processing,the first processing module includes:

a second control unit, configured to control the smart mirror to move ina direction opposite to the direction which the mirror face faces; or

a reducing unit, configured to obtain a reduced image of the user in thedirection of the mirror face of the smart mirror, and to display thereduced image in the mirror face of the smart mirror.

In some embodiments, the smart mirror further includes:

a second processing module configured to, when the processing on theimaging of the user in the smart mirror is determined again according tothe biometric parameters of the user, and the determined processing isopposite to the preceding processing, set a scaling ratio of thedetermined processing to be less than that of said preceding processing,when performing the processing on the imaging of the user in the smartmirror for the present time.

According to a second aspect of the embodiments of the presentdisclosure, there is provided a smart mirror, which includes a processorand a memory, wherein the memory has stored therein at least oneinstruction, at least one piece of program, a code set, or aninstruction set that are loaded and executed by the processor toimplement the above described imaging processing method for a smartmirror.

According to a third aspect of the embodiments of the presentdisclosure, there is provided a computer readable storage medium havingstored therein at least one instruction, at least one piece of program,a code set, or an instruction set that are loaded and executed by aprocessor to implement the above described imaging processing method fora smart mirror.

The technical solutions according to embodiments of the presentdisclosure may have the following beneficial effects:

the method according to embodiments of the present disclosure includes:obtaining biometric parameters of the user; determining whether toperform a processing on the image of the user in the smart mirroraccording to the biometric parameters, wherein the processing includesan enlargement processing or a reduction processing; and performing theprocessing on the image of the user in the smart mirror, in the case of“yes.”

In this way, the smart mirror can automatically recognize the user'sneeds according to the user's biometric parameters and performcorresponding imaging processing. Even if there are other items (such asthe sink or the like) between the user and the mirror surface, the userwill not be impeded from seeing the imaging in the mirror surfaceclearly due to not being able to come closer to the mirror surface.

It is to be understood that, both the foregoing general description andthe following detailed description describe only some embodiments by wayof example, and are not restrictive of the present disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

In order to clearly illustrate the various embodiments provided in thepresent disclosure, the following are drawings that accompany thedescription of the embodiments.

It is noted that these drawings should be interpreted to serveillustrating purposes only, and that these drawings may represent justsome, but not all, of embodiments of the present disclosure. For thoseof ordinary skill in the art, other embodiments that are based on thestructures as described below and illustrated in these drawings maybecome obvious. As such, these other embodiments should be interpretedto be contained within the scope of the disclosure.

FIG. 1 is a flowchart illustrating an imaging processing method for asmart mirror according to some embodiments;

FIG. 2 is a schematic diagram illustrating the movement of a smartmirror according to some embodiments;

FIG. 3 is a schematic structural diagram illustrating a smart mirroraccording to some embodiments;

FIG. 4 is a schematic structural diagram illustrating a smart mirroraccording to some embodiments;

FIG. 5 is a schematic structural diagram illustrating a smart mirroraccording to some embodiments; and

FIG. 6 is a schematic structural diagram illustrating a smart mirroraccording to some embodiments.

Specific embodiments of the present disclosure have been illustrated inthe above drawings, and will be described in further detail hereinafter.The drawings and the description are not intended to limit the scope ofthe concept of the present disclosure in any way; instead, the conceptof the disclosure is explained to those of ordinary skill in the art bymaking reference to the specific embodiments as examples.

DETAILED DESCRIPTION

Descriptions will now be made in detail with respect to someembodiments, examples of which are illustrated in the accompanyingdrawings. The following description refers to the accompanying drawingsin which the same numbers in different drawings may represent the sameor similar elements unless otherwise represented. Some implementationsset forth in the following description of example embodiments do notrepresent all implementations consistent with the disclosure. Instead,they are merely examples of devices and methods consistent with aspectsrelated to the disclosure as recited in the appended claims.

An imaging processing method for a smart mirror is provided according toembodiments of the present disclosure, which can be implemented by asmart mirror.

A smart mirror may include a mirror surface, a display component, aprocessor, a memory, and the like. The processor may be a centralprocessing unit (CPU) or the like, and may be configured to acquirebiometric parameters of the user. According to the biometric parameters,the processor may determine whether to perform a processing on the imageof the user in the smart mirror. The memory may be a random-accessmemory (RAM), a flash memory, etc., and may be configured to storereceived data, data required for processing, data generated duringprocessing, and the like, such as the biometric parameters of the user,etc.

The smart mirror may also include a transceiver, an input component, anaudio output component, and the like. The transceiver can be used fordata transmission with a mobile phone. For example, the transceiver canobtain the setting parameters sent from the mobile phone to the smartmirror. The transceiver may include a Bluetooth component, awireless-fidelity (WiFi) component, an antenna, a matching circuit, amodem, etc. The input component may be a touch screen or the like. Theaudio output component may be a loudspeaker box or the like.

An imaging processing method for a smart mirror is provided according tosome embodiments of the present disclosure. As shown in FIG. 1, theprocess of the method may include the following steps.

Step S110: obtaining biometric parameters of the user.

The biometric parameter is a parameter for characterizing aphysiological reaction naturally generated by the user for visuallyachieving a certain requirement (purpose), and the characteristicspresented by the parameter have universal applicability to differentusers. For example, if the user wants to see something far away, whenthe distance is too far to make it clearly seen, the pupil is usuallyenlarged naturally to try to see the distant things; or, for some peoplewith nearsightedness, when they cannot clearly see things at a certaindistance away, they tend to squint at the things more clearly. In thisembodiment, the biometric parameters may include a moving state of theuser in the direction of the mirror surface of the smart mirror, or astate of the pupil or the like. The moving state of the user in thedirection of the mirror surface of the smart mirror is the user movingtoward or away from the mirror surface. The state of the pupil is thepupil enlargement. When a person is staring at something, the pupil isenlarged to an enlargement threshold. For example, when a person islooking at the lens, the pupil is enlarged to an enlargement threshold.

Step S120: determining whether to perform a processing on an image ofthe user in the smart mirror according to the biometric parameters,

wherein the processing includes an enlargement processing or a reductionprocessing.

In some implementations, when the user cannot see his/her own imaging inthe mirror surface clearly, he/she approaches the mirror surface. Whendetecting a movement of the user towards the mirror surface of smartmirror, the smart mirror determines to perform an enlargement processingon the image of the user in the smart mirror. When the user is staringat the mirror surface, the pupil of the user is enlarged, and whendetecting the enlargement of the pupil of the user, the smart mirror canalso determine to perform an enlargement processing on the image of theuser in the smart mirror. For another example, when the user is staringat the mirror surface, if the user squints, it is highly possible thatthe user is trying to see the image in the mirror clearly, and then anenlargement processing on the image of the user in the smart mirror canbe determined. Conversely, when the user feels that the enlarged imagedisplayed in the mirror surface is too large, he/she can step back in adirection of the mirror surface of the smart mirror. When the smartmirror detects a movement of the user away from the mirror surface ofthe smart mirror, a reduction processing on the image of the user in thesmart mirror is determined.

Step S130: performing the processing on the image of the user in thesmart mirror upon the determining is positive, i.e., in a case of “yes.”

In some implementations, if the processing on the image of the user inthe smart mirror is required, the method provided below by the presentembodiment can be used.

In some embodiments, the biometric parameters include a moving state ofthe user in a direction of the mirror surface of the smart mirror. Thestep of “determining whether to perform a processing on an image of theuser in the smart mirror according to the biometric parameters, andperforming the processing on the image of the user in the smart mirror,in a case of “yes,” may include: determining to perform the enlargementprocessing on the image of the user in the smart mirror when detecting amovement of the user towards the smart mirror in the direction of themirror surface of the smart mirror; and determining to perform areduction processing on the image of the user in the smart mirror whendetecting a movement of the user away from the smart mirror in thedirection of the mirror surface of the smart mirror.

In some implementations, when the user cannot see his/her own imaging inthe mirror surface clearly, he/she approaches the mirror surface. Whenthe smart mirror detects a movement of the user towards the smart mirrorin the direction of the mirror surface of the smart mirror, anenlargement processing on the image of the user in the smart mirror isdetermined to perform. Conversely, when the user feels that the enlargedimage displayed in the mirror surface is too large, he/she can step backin a direction of the mirror surface of the smart mirror. When the smartmirror detects a movement of the user away from the smart mirror in thedirection of the mirror surface of the smart mirror, a reductionprocessing on the image of the user in the smart mirror is determined toperform. Specifically, an infrared distance measuring device or anultrasonic device or the like may be disposed in the smart mirror. Theinfrared distance measuring device or the ultrasonic device can be usedto detect the moving state of the user in the direction of the mirrorsurface of the smart mirror.

In some embodiments, the biometric parameters include a state of apupil. The step of “determining whether to perform a processing on animage of the user in the smart mirror according to the biometricparameters, and performing the processing on the image of the user inthe smart mirror, in a case of “yes,” may include: determining toperform the enlargement processing on the image of the user in the smartmirror when detecting that a pupil image is included in an imagecaptured by an image acquisition component and that a pupil size in thepupil image is enlarged.

In some implementations, the smart mirror captures the scene facing theimage acquisition component through the image acquisition component inreal time, and detects the captured image. When the image captured bythe image acquisition component includes the user image, the position ofthe user's pupil can be detected and the pupil size in the pupil imagecan be determined. The image acquisition component can capture the imageat a preset time interval to obtain image frames. When the pupil imageis included in several consecutive image frames and the pupil size inthe pupil image is enlarged, an enlargement processing on the image ofthe user in the smart mirror is determined to perform.

The way how the enlargement processing is implemented will be describedbelow.

In some embodiments, when the processing is the enlargement processing,step S130 may include: controlling the smart mirror to move in thedirection of the mirror surface; or obtaining an enlarged image of theuser in the direction of the mirror surface of the smart mirror, anddisplaying the enlarged image in the mirror surface of the smart mirror.

In some implementations, as shown in FIG. 2, a slide rail may bedisposed at the bottom of the smart mirror, and an electric motor mayalso be installed in the smart mirror. Therefore, the motor can becontrolled to operate and drive the smart mirror to move in a certaindirection on the slide rail. The time duration of operation of the motorcan be controlled so as to control the distance by which the smartmirror moves. The speed of the motor can be controlled so as to controlthe speed at which the smart mirror moves. By inputting pulses withdifferent phases into the motor, the motor can be controlled to rotateclockwise or counterclockwise, and eventually to control the smartmirror to move in the direction which the mirror surface faces or in adirection opposite to the direction which the mirror surface faces.

In some embodiments, the step of controlling the smart mirror to move inthe direction of the mirror surface may include: obtaining a presetdisplacement distance, and controlling the smart mirror to move in thedirection of the mirror surface by the preset displacement distance; ordetecting through a distance detecting component a distance between theuser and the smart mirror in the direction of the mirror surface of thesmart mirror; calculating a difference between the distance and a presettarget distance, and controlling the smart mirror to move in thedirection of the mirror surface by the difference.

In some implementations, when determining that the enlargementprocessing is required, the smart mirror may only move by a presetdisplacement distance at a time, for example, only 10 cm at a time.

Alternatively, the user can set the target distance in a dedicatedapplication in the mobile phone based on his or her preference. That is,each time the user needs the smart mirror to perform the enlargementprocessing, the smart mirror directly moves by the target distancepreset by the user. After the user sets the target distance, the mobilephone can send the set target distance to the smart mirror throughnetwork. When the smart mirror detects the requirement of enlargementprocessing, the smart mirror can detect through a distance detectingcomponent a distance X₁ between the user and the smart mirror in thedirection of the mirror surface of the smart mirror. A differencebetween the distance X₁ and the preset target distance X₂ is calculated,and the smart mirror is controlled to move in the direction of themirror surface by the difference, i.e., X₁−X₂.

If the bottom of the smart mirror is not provided with a slide rail orthe like, as shown in FIG. 3, the image of the user in the direction ofthe mirror surface of the smart mirror can be captured by the imageacquisition component, the captured image of the user is enlarged andthen is displayed in the mirror surface of the smart mirror.

In some embodiments, the step of obtaining an enlarged image of the userin the direction of the mirror surface of the smart mirror may include:obtaining a preset target enlargement coefficient of image; obtaining anenlarged image of the user in the direction of the mirror surface of thesmart mirror, based on the target enlargement coefficient of image; ordetecting through a distance detecting component a distance between theuser and the smart mirror in the direction of the mirror surface of thesmart mirror; calculating a difference between the distance and a presettarget distance, and determining a target enlargement coefficient ofimage corresponding to the currently calculated difference according toa pre-stored correspondence between the difference and the enlargementcoefficient of image; and obtaining an enlarged image of the user in thedirection of the mirror surface of the smart mirror, based on the targetenlargement coefficient of image.

In some implementations, when determining that the enlargementprocessing is required, the smart mirror may perform the enlargementprocessing based on the preset target enlargement coefficient of imageat a time, and for example, the image is enlarged by 1.2 times at atime.

Alternatively, a difference between the distance X₁ and a preset targetdistance X₂ can be calculated, and the smart mirror is controlled tomove in the direction of the mirror surface by the difference, i.e.,X₁−X₂. A target enlargement coefficient of image corresponding to thecurrently calculated difference X₁−X₂ is determined according to apre-stored correspondence between the difference and the enlargementcoefficient of image. An enlarged image of the user in the direction ofthe mirror surface of the smart mirror is obtained based on the targetenlargement coefficient of image.

In some embodiments, the step of obtaining an enlarged image of the userin the direction of the mirror surface of the smart mirror based on thetarget enlargement coefficient of image may include: detecting aposition of a face image in the image acquired by the image acquisitioncomponent; and enlarging the image based on the target enlargementcoefficient of image by centering on the position of the face image toobtain an enlarged image of the user in the direction of the mirrorsurface of the smart mirror

In some implementations, the image may be enlarged by enlarging the faceimage of the user which is captured at an original magnification so asto obtain an enlarged image of the user in the direction of the mirrorsurface of the smart mirror.

In some embodiments, the step of obtaining an enlarged image of the userin the direction of the mirror surface of the smart mirror based on thetarget enlargement coefficient of image may include: adjusting the focuslength of the image acquisition component based on the targetenlargement coefficient of image; and obtaining, by acquiring the imagethrough the adjusted image acquisition component, an enlarged image ofthe user in the direction of the mirror surface of the smart mirror.

In some implementations, the focus length of the image acquisitioncomponent can be adjusted, and the magnification for capturing the imagecan be adjusted by adjusting the focus length of the image acquisitioncomponent so that an enlarged image can be captured directly.

The above described is some implementations of the enlargementprocessing, and some implementations of the reduction processing will bedescribed below.

In some embodiments, when the processing is the reduction processing,step S130 may include: controlling the smart mirror to move in adirection opposite to the direction which the mirror surface faces; orobtaining a reduced image of the user in the direction of the mirrorsurface of the smart mirror, and displaying the reduced image in themirror surface of the smart mirror.

In some embodiments, the step of controlling the smart mirror to move ina direction opposite to the direction which the mirror surface faces mayinclude: obtaining a preset displacement distance, and controlling thesmart mirror to move in a direction opposite to the direction which themirror surface faces by the preset displacement distance; or detectingthrough a distance detecting component a distance between the user andthe smart mirror in the direction of the mirror surface of the smartmirror; calculating a difference between the distance and a presettarget distance, and controlling the smart mirror to move in a directionopposite to the direction which the mirror surface faces by thedifference.

In some embodiments, the step of obtaining a reduced image of the userin the direction of the mirror surface of the smart mirror may include:obtaining a preset target reduction coefficient of image; obtaining areduced image of the user in the direction of the mirror surface of thesmart mirror, based on the target reduction coefficient of image; ordetecting through a distance detecting component a distance between theuser and the smart mirror in the direction of the mirror surface of thesmart mirror; calculating a difference between the distance and a presettarget distance, and determining a target reduction coefficient of imagecorresponding to the currently calculated difference according to apre-stored correspondence between the difference and the reductioncoefficient of image; and obtaining a reduced image of the user in thedirection of the mirror surface of the smart mirror, based on the targetreduction coefficient of image.

In some embodiments, the step of obtaining a reduced image of the userin the direction of the mirror surface of the smart mirror based on thetarget reduction coefficient of image may include: adjusting the focuslength of the image acquisition component based on the target reductioncoefficient of image; and obtaining, by acquiring the image through theadjusted image acquisition component, a reduced image of the user in thedirection of the mirror surface of the smart mirror.

In some implementations, the specific implementation of the reductionprocessing is similar to that of the enlargement processing; for thespecific implementation of the reduction processing, reference may bemade to the specific implementation of the enlargement processing, andno detailed repeated discussion will be given herein.

In some embodiments, after performing the processing on the image of theuser in the smart mirror, the method provided by the present embodimentmay further include: if the processing on the image of the user in thesmart mirror is determined again according to the biometric parametersof the user, and the determined processing is opposite to the precedingprocessing, then setting the scaling ratio of determined processing tobe less than that of said preceding processing when performing theprocessing on the image of the user in the smart mirror for the presenttime.

In some implementations, for example, if the smart mirror firstlydetermines, in a certain time period, that the enlargement processing isrequired, the enlargement ratio may be set to be 2 times, and when areduction processing is determined to be required after this, thereduction ratio may be set to be 1.5 times. Then, when an enlargementprocessing is determined to be required again, the enlargement ratio maybe set to be 1.2 times.

In some embodiments, after performing the processing on the image of theuser in the smart mirror, the method provided by the present embodimentmay further include: when the biometric parameters of the user areobtained again, determining whether to perform the processing on theimage of the user in the smart mirror according to the biometricparameters of the user as obtained again, and performing the processingon the image of the user in the smart mirror in a case of “yes.”

In some implementations, each time the enlargement processing or thereduction processing is completed, the biometric parameters of the usercan be detected again, and it is determined whether to perform theprocessing on the image of the user in the smart mirror according to thebiometric parameters of the user as obtained again. The processing onthe image of the user in the smart mirror is performed in a case of“yes,” until there is no need for the user to view the enlarged orreduced image.

The method provided by the present embodiment includes: obtainingbiometric parameters of the user; determining whether to perform aprocessing on the image of the user in the smart mirror according to thebiometric parameters, wherein the processing includes an enlargementprocessing or a reduction processing; and performing the processing onthe image of the user in the smart mirror, in the case of “yes.” In thisway, the smart mirror can automatically recognize the user's needsaccording to the user's biometric parameters and perform correspondingimaging processing. Even if there are other items (such as the sink orthe like) between the user and the mirror surface, the user will not beimpeded from seeing the imaging in the mirror surface clearly due to notbeing able to come closer to the mirror surface. In addition, since thebasis of determining adopted by the embodiment of the present disclosureis the biometric parameters of the user, which have universalapplicability and is a refinement of the normal reaction of people,there is no difference for different users. Therefore, someimplementations of the present disclosure do not require the user tolearn in advance, which reduces the cost of learning. For example, thesmart mirror of the present disclosure can be placed in a shopping mallor the like where there is a large flow of people, and there is no needto explain the method of using the mirror for each user. The user onlyneeds to use it as a conventional mirror subjectively. When thebiometric parameters of the user meet the condition for triggeringimaging processing of the mirror, the processing will be automaticallyperformed, thereby effectively improving the user experience and the funof use.

A smart mirror is provided according to another exemplary embodiment ofthe present disclosure. As shown in FIG. 4, the smart mirror includes:

an obtaining module 510, configured to obtain biometric parameters ofthe user;

a first processing module 520, configured to determine whether toperform a processing on the image of the user in the smart mirroraccording to the biometric parameters, wherein the processing includesan enlargement processing or a reduction processing; and the processingon the image of the user in the smart mirror is performed, in the caseof “yes.”

In some embodiments, the biometric parameters include a moving state ofthe user in a direction of the mirror surface of the smart mirror;

As shown in FIG. 5, the first processing module 520 includes:

a first determining unit 621 which is configured to determine to performan enlargement processing on the image of the user in the smart mirrorwhen detecting a movement of the user towards the smart mirror in adirection of the mirror surface of the smart mirror; and

a second determining unit 622 which is configured to determine toperform a reduction processing on the image of the user in the smartmirror when detecting a movement of the user away from the smart mirrorin a direction of the mirror surface of the smart mirror.

In some embodiments, the biometric parameters include a state of apupil;

the first processing module 520 includes:

a third determining unit which is configured to determine to perform anenlargement processing on the image of the user in the smart mirror whendetecting that a pupil image is included in an image captured by animage acquisition component and that the pupil size in the pupil imageis enlarged.

In some embodiments, when the processing is the enlargement processing,the first processing module 520 includes:

a first control unit, configured to control the smart mirror to move inthe direction of the mirror surface; or

an enlarging unit, configured to obtain an enlarged image of the user inthe direction of the mirror surface of the smart mirror, and to displaythe enlarged image in the mirror surface of the smart mirror.

In some embodiments, the first control unit is configured to:

obtain a preset displacement distance, and control the smart mirror tomove in the direction of the mirror surface by the preset displacementdistance; or

detect through a distance detecting component a distance between theuser and the smart mirror in the direction of the mirror surface of thesmart mirror; calculate a difference between the distance and a presettarget distance, and control the smart mirror to move in the directionof the mirror surface by the difference.

In some embodiments, the enlarging unit is configured to:

obtain a preset target enlargement coefficient of image; obtain anenlarged image of the user in the direction of the mirror surface of thesmart mirror, based on the target enlargement coefficient of image; or

detect through a distance detecting component a distance between theuser and the smart mirror in the direction of the mirror surface of thesmart mirror; calculate a difference between the distance and a presettarget distance, and determine a target enlargement coefficient of imagecorresponding to the currently calculated difference according to apre-stored correspondence between the difference and the enlargementcoefficient of image; and obtain an enlarged image of the user in thedirection of the mirror surface of the smart mirror, based on the targetenlargement coefficient of image.

In some embodiments, the enlarging unit is configured to:

detect a position of a face image in the image acquired by the imageacquisition component; and

enlarge the image based on the target enlargement coefficient of imageby centering on the position of the face image to obtain an enlargedimage of the user in the direction of the mirror surface of the smartmirror.

In some embodiments, the enlarging unit is configured to:

adjust a focus length of the image acquisition component based on thetarget enlargement coefficient of image; and

obtain, by acquiring the image through the adjusted image acquisitioncomponent, an enlarged image of the user in the direction of the mirrorsurface of the smart mirror.

In some embodiments, when the processing is the reduction processing,the first processing module 520 includes:

a second control unit, configured to control the smart mirror to move ina direction opposite to the direction which the mirror surface faces; or

a reducing unit, configured to obtain a reduced image of the user in thedirection of the mirror surface of the smart mirror, and to display thereduced image in the mirror surface of the smart mirror.

In some embodiments, the smart mirror further includes:

a second processing module configured to, when the processing on theimage of the user in the smart mirror is determined again according tothe biometric parameters of the user, and the determined processing isopposite to the preceding processing, set the scaling ratio of thedetermined processing to be less than that of said preceding processing,when performing the processing on the image of the user in the smartmirror for the present time.

The various device components, units, blocks, or portions may havemodular configurations, or are composed of discrete components, butnonetheless may be referred to as “modules” in general. In other words,the “modules” or “units” referred to herein may or may not be in modularforms.

The various device components, units, blocks, portions, or modules maybe realized with hardware, software, or a combination of hardware andsoftware.

For the device in the above embodiment, the specific manners in whichvarious modules operate have been described in detail in the embodimentrelating to the above method, and therefore will not be repeated herein.

The smart mirror can automatically recognize the user's needs accordingto the user's biometric parameters and perform corresponding imagingprocessing. Even if there are other items (such as the sink or the like)between the user and the mirror surface, the user will not be impededfrom seeing the imaging in the mirror surface clearly due to not beingable to come closer to the mirror surface.

It should be noted that the smart mirror provided in the aboveembodiment is only illustrated through the division of the abovefunctional modules when performing the imaging processing. In actualapplications, the above functions can be distributed to differentfunctional modules as required. That is, the internal structure of thesmart mirror is divided into different functional modules to perform allor part of the functions described above. In addition, the smart mirrorprovided by the above embodiment belongs to the same concept as theembodiment of the imaging processing method for the smart mirror. Thespecific implementation process thereof has been described in detail inthe method embodiment, and no detailed repeated discussion will be givenherein.

A schematic structural diagram of a smart mirror is illustratedaccording to further another exemplary embodiment of the disclosure.

Referring to FIG. 6, the smart mirror 700 may include one or more of thefollowing components: a processing component 702, a memory 704, a powercomponent 706, a multimedia component 708, an audio component 710, aninput/output (I/O) interface 712, a sensor component 714, and acommunication component 716.

The processing component 702 typically controls overall operations ofthe smart mirror 700, such as the operations associated with datacommunications, camera operations, and recording operations. Theprocessing component 702 may include one or more processors 720 toexecute instructions to perform all or part of the steps in the abovedescribed methods. Moreover, the processing component 702 may includeone or more modules which facilitate the interaction between theprocessing component 702 and other components. For instance, theprocessing component 702 may include a multimedia module to facilitatethe interaction between the multimedia component 708 and the processingcomponent 702.

The memory 704 is configured to store various types of data to supportthe operation of the smart mirror 700. Examples of such data includeinstructions for any applications or methods operated on the smartmirror 700, pictures, etc. The memory 704 may be implemented using anytype of volatile or non-volatile memory devices, or a combinationthereof, such as a static random-access memory (SRAM), an electricallyerasable programmable read-only memory (EEPROM), an erasableprogrammable read-only memory (EPROM), a programmable read-only memory(PROM), a read-only memory (ROM), a magnetic memory, a flash memory, amagnetic or optical disk.

The power component 706 provides power to various components of thesmart mirror 700. The power component 706 may include a power managementsystem, one or more power sources, and any other components associatedwith the generation, management, and distribution of power in the smartmirror 700.

The multimedia component 708 includes a screen providing an outputinterface between the smart mirror 700 and the user. In someembodiments, the screen may include a liquid crystal display (LCD) and atouch panel (TP).

In some implementations, the screen is not limited to the LCD display,but can include, for example, a light-emitting diode (LED) display, anOLED (organic LED) display, a flexible display, etc.

If the screen includes the touch panel, the screen may be implemented asa touch screen to receive input signals from the user. The touch panelincludes one or more touch sensors to sense touches, swipes, andgestures on the touch panel. The touch sensors may not only sense aboundary of a touch or swipe action, but also sense a period of time anda pressure associated with the touch or swipe action. In someembodiments, the multimedia component 708 includes a front camera and/ora rear camera. The front camera and the rear camera may receive anexternal multimedia datum while the smart mirror 700 is in an operationmode, such as a photographing mode or a video mode. Each of the frontcamera and the rear camera may be a fixed optical lens system or havefocus and optical zoom capability.

The audio component 710 is configured to output and/or input audiosignals. For example, the audio component 710 includes a microphone(“MIC”) configured to receive an external audio signal when the smartmirror 700 is in an operation mode, such as a call mode, a recordingmode, and a voice recognition mode. The received audio signal may befurther stored in the memory 704 or transmitted via the communicationcomponent 716.

The I/O interface 712 provides an interface between the processingcomponent 702 and peripheral interface modules, such as a keyboard, aclick wheel, buttons, and the like. The buttons may include, but are notlimited to, a home button, a volume button, a starting button, and alocking button.

The sensor component 714 includes one or more sensors to provide statusassessments of various aspects of the smart mirror 700. For instance,the sensor component 714 may detect an open/closed status of the smartmirror 700, relative positioning of components, e.g., the display andthe keypad, of the smart mirror 700, a change in position of the smartmirror 700 or a component of the smart mirror 700, a presence or absenceof user contact with the smart mirror 700, an orientation or anacceleration/deceleration of the smart mirror 700, and a change intemperature of the smart mirror 700. The sensor component 714 mayinclude a proximity sensor configured to detect the presence of nearbyobjects without any physical contact. The sensor component 714 may alsoinclude a light sensor, such as a CMOS or CCD image sensor, for use inimaging applications. In some embodiments, the sensor component 714 mayalso include an accelerometer sensor, a gyroscope sensor, a magneticsensor, a pressure sensor, or a temperature sensor.

The communication component 716 is configured to facilitatecommunication, wired or wirelessly, between the smart mirror 700 andother devices. The smart mirror 700 can access a wireless network basedon a communication standard, such as WiFi, 2G, or 3G, or a combinationthereof. In one exemplary embodiment, the communication component 716receives a broadcast signal or broadcast associated information from anexternal broadcast management system via a broadcast channel. In oneexemplary embodiment, the communication component 716 further includes anear field communication (NFC) module to facilitate short-rangecommunications. For example, the NFC module may be implemented based ona radio frequency identification (RFID) technology, an infrared dataassociation (IrDA) technology, an ultra-wideband (UWB) technology, aBluetooth (BT) technology, and other technologies.

In some embodiments, the smart mirror 700 may be implemented with one ormore application specific integrated circuits (ASICs), digital signalprocessors (DSPs), digital signal processing devices (DSPDs),programmable logic devices (PLDs), field programmable gate arrays(FPGAs), controllers, micro-controllers, microprocessors, or otherelectronic components, for performing the above described method.

In some embodiments, there is also provided a computer-readable storagemedium including instructions, such as included in the memory 704,executable by the processor 720 in the smart mirror 700, for performingthe above described method. For example, the non-transitorycomputer-readable storage medium may be a ROM, a RAM, a CD-ROM, amagnetic tape, a floppy disc, an optical data storage device, and thelike.

According to some other embodiments of the present disclosure, there isprovided a non-transitory computer-readable storage medium; when theinstructions stored therein are executed by the processor of the smartmirror, the smart mirror can execute the instructions executed by thesmart mirror in the above embodiment.

In the description of the present disclosure, the terms “oneembodiment,” “one implementation,” “some embodiments,” “someimplementations,” “example,” “specific example,” or “some examples,” andthe like may indicate a specific feature described in connection withthe embodiment or example, a structure, a material or feature includedin at least one embodiment or example. In the present disclosure, theschematic representation of the above terms is not necessarily directedto the same embodiment or example.

While this specification contains many specific implementation details,these should not be construed as limitations on the scope of any claims,but rather as descriptions of features specific to particularimplementations. Certain features that are described in thisspecification in the context of separate implementations can also beimplemented in combination in a single implementation. Conversely,various features that are described in the context of a singleimplementation can also be implemented in multiple implementationsseparately or in any suitable subcombination.

Moreover, although features may be described above as acting in certaincombinations and even initially claimed as such, one or more featuresfrom a claimed combination can in some cases be excised from thecombination, and the claimed combination may be directed to asubcombination or variation of a subcombination.

Similarly, while operations are depicted in the drawings in a particularorder, this should not be understood as requiring that such operationsbe performed in the particular order shown or in sequential order, orthat all illustrated operations be performed, to achieve desirableresults. In certain circumstances, multitasking and parallel processingmay be advantageous. Moreover, the separation of various systemcomponents in the implementations described above should not beunderstood as requiring such separation in all implementations, and itshould be understood that the described program components and systemscan generally be integrated together in a single software product orpackaged into multiple software products.

Therefore, particular implementations of the subject matter have beendescribed. Other implementations are within the scope of the followingclaims. In some cases, the actions recited in the claims can beperformed in a different order and still achieve desirable results. Inaddition, the processes depicted in the accompanying figures do notnecessarily require the particular order shown, or sequential order, toachieve desirable results. In certain implementations, multitasking orparallel processing may be utilized.

It is intended that the specification and embodiments be considered asexamples only. Other embodiments of the disclosure will be apparent tothose skilled in the art in view of the specification and drawings ofthe present disclosure. That is, although specific embodiments have beendescribed above in detail, the description is merely for purposes ofillustration. It should be appreciated, therefore, that many aspectsdescribed above are not intended as required or essential elementsunless explicitly stated otherwise.

Various modifications of, and equivalent acts corresponding to, thedisclosed aspects of the example embodiments, in addition to thosedescribed above, can be made by a person of ordinary skill in the art,having the benefit of the present disclosure, without departing from thespirit and scope of the disclosure defined in the following claims, thescope of which is to be accorded the broadest interpretation so as toencompass such modifications and equivalent structures.

The invention claimed is:
 1. An imaging processing method for a smartmirror, comprising: obtaining biometric physical parameters of a userwith at least one of an image acquisition component, a distancedetecting component, an infrared distance measuring device, and anultrasonic device; determining whether to perform a processing on animage of the user obtained by and displayed in the smart mirroraccording to the biometric physical parameters, wherein the processingcomprises an enlargement processing or a reduction processing;performing the processing on the image of the user in the smart mirrorupon the determining is positive; and upon that the processing on theimage of the user in the smart mirror is determined again according tothe biometric physical parameters of the user, and the determinedprocessing is opposite to a preceding processing on the image of theuser, setting a scaling ratio of the determined processing to be lessthan that of the preceding processing when performing the processing onthe image of the user in the smart mirror for the present time.
 2. Themethod according to claim 1, wherein: the biometric physical parameterscomprise a moving state of the user in a direction of a mirror surfaceof the smart mirror; and the method further comprises: determining toperform the enlargement processing on the image of the user in the smartmirror upon detecting a movement of the user towards the smart mirror inthe direction of the mirror surface of the smart mirror; and determiningto perform the reduction processing on the image of the user in thesmart mirror upon detecting a movement of the user away from the smartmirror in the direction of the mirror surface of the smart mirror. 3.The method according to claim 1, wherein: the biometric physicalparameters comprise a state of a pupil; and the method furthercomprises: determining to perform the enlargement processing on theimage of the user in the smart mirror upon detecting that a pupil imageis contained in an image captured by the image acquisition component andthat a pupil size in the pupil image is enlarged.
 4. The methodaccording to claim 1, wherein in a case that the processing is theenlargement processing, the performing the processing on the image ofthe user in the smart mirror comprises at least one of: controlling thesmart mirror to toward the user; and enlarging the image of the user anddisplaying the enlarged image in the mirror surface of the smart mirror.5. The method according to claim 4, wherein the controlling the smartmirror to move in the direction of the mirror surface comprises:obtaining a preset displacement distance, and controlling the smartmirror to move in the direction of the mirror surface by the presetdisplacement distance; or detecting, with the distance detectingcomponent, a distance between the user and the smart mirror in thedirection of the mirror surface of the smart mirror; calculating adifference between the distance and a preset target distance, andcontrolling the smart mirror to move in the direction of the mirrorsurface by the difference.
 6. The method according to claim 4, whereinthe obtaining an enlarged image of the user in the direction of themirror surface of the smart mirror comprises: obtaining a preset targetenlargement coefficient of image; obtaining an enlarged image of theuser in the direction of the mirror surface of the smart mirror, basedon the target enlargement coefficient of image; or detecting, with thedistance detecting component, a distance between the user and the smartmirror in the direction of the mirror surface of the smart mirror;calculating a difference between the distance and a preset targetdistance, and determining a target enlargement coefficient of imagecorresponding to the currently calculated difference according to apre-stored correspondence between the difference and the enlargementcoefficient of image; and obtaining an enlarged image of the user in thedirection of the mirror surface of the smart mirror, based on the targetenlargement coefficient of image.
 7. The method according to claim 6,wherein the obtaining an enlarged image of the user in the direction ofthe mirror surface of the smart mirror based on the target enlargementcoefficient of image comprises: detecting a position of a face image inthe image acquired by the image acquisition component; and enlarging theimage based on the target enlargement coefficient of image by centeringthe image of the user on the position of the face image to obtain anenlarged image of the user in the direction of the mirror surface of thesmart mirror.
 8. The method according to claim 6, wherein the obtainingan enlarged image of the user in the direction of the mirror surface ofthe smart mirror based on the target enlargement coefficient of imagecomprises: adjusting a focal length of the image acquisition componentbased on the target enlargement coefficient of image; and obtaining, byacquiring the image through the adjusted image acquisition component, anenlarged image of the user in the direction of the mirror surface of thesmart mirror.
 9. The method according to claim 1, wherein in a case thatthe processing is the reduction processing, the performing theprocessing on the image of the user in the smart mirror comprises:controlling the smart mirror to move away from the user; or obtaining areduced image of the user in the direction of the mirror surface of thesmart mirror, and displaying the reduced image in the mirror surface ofthe smart mirror.
 10. The method according to claim 1, wherein thebiometric physical parameters comprise a size of user eyes, and themethod further comprises: determining to perform the enlargementprocessing on the image of the user in the smart mirror upon detectingthat the user is squinting eyes trying to see the image in the smartmirror clearly.
 11. A smart mirror, comprising a processor and memory,wherein the memory has stored therein at least one instruction, at leastone piece of program, a code set, or an instruction set that are loadedand executed by the processor to implement an imaging processing methodfor the smart mirror, wherein the method comprises: obtaining biometricphysical parameters of a user with at least one of an image acquisitioncomponent, a distance detecting component, an infrared distancemeasuring device, and an ultrasonic device; determining whether toperform a processing on an image of the user obtained by and displayedin the smart mirror according to the biometric physical parameters,wherein the processing comprises an enlargement processing or areduction processing; performing the processing on the image of the userin the smart mirror upon the determining is positive; and upon that theprocessing on the image of the user in the smart mirror is determinedagain according to the biometric physical parameters of the user, andthe determined processing is opposite to a preceding processing on theimage of the user, setting a scaling ratio of the determined processingto be less than that of the preceding processing when performing theprocessing on the image of the user in the smart mirror for the presenttime.
 12. The smart mirror according to claim 11, wherein: the biometricphysical parameters comprise a moving state of the user in a directionof a mirror surface of the smart mirror; and the method furthercomprises: determining to perform the enlargement processing on theimage of the user in the smart mirror upon detecting a movement of theuser towards the smart mirror in the direction of the mirror surface ofthe smart mirror; and determining to perform the reduction processing onthe image of the user in the smart mirror upon detecting a movement ofthe user away from the smart mirror in the direction of the mirrorsurface of the smart mirror.
 13. The smart mirror according to claim 11,wherein: the biometric physical parameters comprise a state of a pupil;and the method further comprises: determining to perform the enlargementprocessing on the image of the user in the smart mirror upon detectingthat a pupil image is contained in an image captured by the imageacquisition component and that a pupil size in the pupil image isenlarged.
 14. The smart mirror according to claim 11, wherein in a casethat the processing is the enlargement processing, the performing theprocessing on the image of the user in the smart mirror comprises atleast one of: controlling the smart mirror to move toward the user; andenlarging the image of the user and displaying the enlarged image in themirror surface of the smart mirror.
 15. The smart mirror according toclaim 14, wherein the controlling the smart mirror to move toward theuser comprises: obtaining a preset displacement distance, andcontrolling the smart mirror to move toward the user by the presetdisplacement distance; or detecting through the distance detectingcomponent a distance between the user and the smart mirror in thedirection of the mirror surface of the smart mirror; calculating adifference between the distance and a preset target distance, andcontrolling the smart mirror to move in the direction of the mirrorsurface by the difference.
 16. The smart mirror according to claim 14,wherein the enlarging the image of the user comprises: obtaining apreset target enlargement coefficient of image; obtaining an enlargedenlarging the image of the user based on the target enlargementcoefficient of image; or detecting through the distance detectingcomponent a distance between the user and the smart mirror in thedirection of the mirror surface of the smart mirror; calculating adifference between the distance and a preset target distance, anddetermining a target enlargement coefficient of image corresponding tothe currently calculated difference according to a pre-storedcorrespondence between the difference and the enlargement coefficient ofimage; and obtaining an enlarged image of the user in the direction ofthe mirror surface of the smart mirror, based on the target enlargementcoefficient of image.
 17. The smart mirror according to claim 16,wherein the enlarging the image of the user based on the targetenlargement coefficient of image comprises: detecting a position of aface image in the image acquired by the image acquisition component; andenlarging the image based on the target enlargement coefficient of imageby centering the image of the user on the position of the face image toobtain an enlarged image of the user in the direction of the mirrorsurface of the smart mirror.
 18. The smart mirror according to claim 16,wherein the enlarging the image of the user based on the targetenlargement coefficient of image comprises: adjusting a focus length ofthe image acquisition component based on the target enlargementcoefficient of image; and obtaining, by acquiring the image through theadjusted image acquisition component, an enlarged image of the user inthe direction of the mirror surface of the smart mirror.
 19. The smartmirror according to claim 11, wherein in a case that the processing isthe reduction processing, the performing the processing on the image ofthe user in the smart mirror comprises: controlling the smart mirror tomove away from the user; or reducing the image of the user displayingthe reduced image in the mirror surface of the smart mirror.
 20. Anon-transitory computer-readable storage medium, having stored thereinat least one instruction, at least one piece of program, a code set, oran instruction set that are loaded and executed by a processor toimplement an imaging processing method for a smart mirror, wherein themethod comprises: obtaining biometric physical parameters of a user withat least one of an image acquisition component, a distance detectingcomponent, an infrared distance measuring device, and an ultrasonicdevice; determining whether to perform a processing on an image of theuser obtained by and displayed in the smart mirror according to thebiometric physical parameters, wherein the processing comprises anenlargement processing or a reduction processing; performing theprocessing on the image of the user in the smart mirror upon thedetermining is positive; and upon that the processing on the image ofthe user in the smart mirror is determined again according to thebiometric physical parameters of the user, and the determined processingis opposite to a preceding processing on the image of the user, settinga scaling ratio of the determined processing to be less than that of thepreceding processing when performing the processing on the image of theuser in the smart mirror for the present time.